<%@ page errorPage="Error.jsp" %>
<%@ include file="HeaderMap.jsp" %>
<table border="0">
  <tr>
    <td>
      <form id="ShowMapForm" method="POST" action="controller">
        <input type="hidden" name="CommandName" value="ShowMap">
           Select a packet:
          <select size="1" name="number">
            <c:forEach var="packet" items="${packetStoreIterator}" varStatus="loopStatus">
               <option value="${loopStatus.index}">${loopStatus.index}</option>
            </c:forEach>
          </select>
        <input type="submit" value="ShowMap" name="ShowMap">
      </form>
    </td>
    <td>
      <form id="GetGPSForm">
      <input type="hidden" name="lat1" value="${latitude1}" >
      <input type="hidden" name="lat2" value="${latitude2}" >
      <input type="hidden" name="long1" value="${longitude1}" >
      <input type="hidden" name="long2" value="${longitude2}" >
    </td>
  </tr>
</table>
	
    <div id="map" style="width: 500px; height: 300px"></div>
<p>
<table id="ErrorMessageTable">
  <tr><td><font color="red"><c:out value="${errorMessage}"/></font></td></tr>
</table>

<%@ include file="Footer.jsp" %>
